#!/bin/sh

hostlist="hostlist"

if [ $# -eq 0 ]
then
    echo "no parameter"
    exit 1
fi

if [ -f $hostlist ]
then
    cat $hostlist | while read line
    do
	if [ line ]
	then
		ssh yfeng38@$line "$1" &
		#ssh yfeng38@$line "$1" 
	fi
    done
else
    echo "$hostlist not found"
fi

